import type { RouteRecordRaw } from 'vue-router'
import Layout from '../Layout/layout.vue'

const routes: RouteRecordRaw[] = [
    {
        path: '/',
        component: Layout,
        redirect: '/index',
        children: [
            {
                path: '/index',
                name: 'index',
                component: () => import('../views/index/index.vue'),
            }
        ]
    }
]

export default routes